package StringUtils;

import java.util.HashSet;
import java.util.Iterator;
import java.util.Set;

public class TestIterator {
	public static void main(String[] args) {
		Set set = new HashSet();
		set.add("1");
		set.add("1");
		set.add("2");
		Iterator it = set.iterator();
		while (it.hasNext()) {
			System.out.println(it.next().getClass());
		}
	}
}
